﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020002E7 RID: 743
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class CKNIBADCANC : IMessage<CKNIBADCANC>, IMessage, IEquatable<CKNIBADCANC>, IDeepCloneable<CKNIBADCANC>, IBufferMessage
	{
		// Token: 0x17000999 RID: 2457
		// (get) Token: 0x0600212B RID: 8491 RVA: 0x0005DD34 File Offset: 0x0005BF34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<CKNIBADCANC> Parser
		{
			get
			{
				return CKNIBADCANC._parser;
			}
		}

		// Token: 0x1700099A RID: 2458
		// (get) Token: 0x0600212C RID: 8492 RVA: 0x0005DD3B File Offset: 0x0005BF3B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return CKNIBADCANCReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700099B RID: 2459
		// (get) Token: 0x0600212D RID: 8493 RVA: 0x0005DD4D File Offset: 0x0005BF4D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return CKNIBADCANC.Descriptor;
			}
		}

		// Token: 0x0600212E RID: 8494 RVA: 0x0005DD54 File Offset: 0x0005BF54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CKNIBADCANC()
		{
		}

		// Token: 0x0600212F RID: 8495 RVA: 0x0005DD67 File Offset: 0x0005BF67
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CKNIBADCANC(CKNIBADCANC other) : this()
		{
			this.id_ = other.id_;
			this.dAKGINMEMJL_ = other.dAKGINMEMJL_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002130 RID: 8496 RVA: 0x0005DD9D File Offset: 0x0005BF9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CKNIBADCANC Clone()
		{
			return new CKNIBADCANC(this);
		}

		// Token: 0x1700099C RID: 2460
		// (get) Token: 0x06002131 RID: 8497 RVA: 0x0005DDA5 File Offset: 0x0005BFA5
		// (set) Token: 0x06002132 RID: 8498 RVA: 0x0005DDAD File Offset: 0x0005BFAD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Id
		{
			get
			{
				return this.id_;
			}
			set
			{
				this.id_ = value;
			}
		}

		// Token: 0x1700099D RID: 2461
		// (get) Token: 0x06002133 RID: 8499 RVA: 0x0005DDB6 File Offset: 0x0005BFB6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> DAKGINMEMJL
		{
			get
			{
				return this.dAKGINMEMJL_;
			}
		}

		// Token: 0x06002134 RID: 8500 RVA: 0x0005DDBE File Offset: 0x0005BFBE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as CKNIBADCANC);
		}

		// Token: 0x06002135 RID: 8501 RVA: 0x0005DDCC File Offset: 0x0005BFCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(CKNIBADCANC other)
		{
			return other != null && (other == this || (this.Id == other.Id && this.dAKGINMEMJL_.Equals(other.dAKGINMEMJL_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002136 RID: 8502 RVA: 0x0005DE1C File Offset: 0x0005C01C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Id != 0U)
			{
				num ^= this.Id.GetHashCode();
			}
			num ^= this.dAKGINMEMJL_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002137 RID: 8503 RVA: 0x0005DE69 File Offset: 0x0005C069
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002138 RID: 8504 RVA: 0x0005DE71 File Offset: 0x0005C071
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002139 RID: 8505 RVA: 0x0005DE7C File Offset: 0x0005C07C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Id != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Id);
			}
			this.dAKGINMEMJL_.WriteTo(ref output, CKNIBADCANC._repeated_dAKGINMEMJL_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600213A RID: 8506 RVA: 0x0005DECC File Offset: 0x0005C0CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Id != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Id);
			}
			num += this.dAKGINMEMJL_.CalculateSize(CKNIBADCANC._repeated_dAKGINMEMJL_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600213B RID: 8507 RVA: 0x0005DF20 File Offset: 0x0005C120
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CKNIBADCANC other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Id != 0U)
			{
				this.Id = other.Id;
			}
			this.dAKGINMEMJL_.Add(other.dAKGINMEMJL_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600213C RID: 8508 RVA: 0x0005DF6D File Offset: 0x0005C16D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600213D RID: 8509 RVA: 0x0005DF78 File Offset: 0x0005C178
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 32U && num != 34U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.dAKGINMEMJL_.AddEntriesFrom(ref input, CKNIBADCANC._repeated_dAKGINMEMJL_codec);
					}
				}
				else
				{
					this.Id = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000D8C RID: 3468
		private static readonly MessageParser<CKNIBADCANC> _parser = new MessageParser<CKNIBADCANC>(() => new CKNIBADCANC());

		// Token: 0x04000D8D RID: 3469
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000D8E RID: 3470
		public const int IdFieldNumber = 1;

		// Token: 0x04000D8F RID: 3471
		private uint id_;

		// Token: 0x04000D90 RID: 3472
		public const int DAKGINMEMJLFieldNumber = 4;

		// Token: 0x04000D91 RID: 3473
		private static readonly FieldCodec<uint> _repeated_dAKGINMEMJL_codec = FieldCodec.ForUInt32(34U);

		// Token: 0x04000D92 RID: 3474
		private readonly RepeatedField<uint> dAKGINMEMJL_ = new RepeatedField<uint>();
	}
}
